package cranim.graphics.models.ships;

import cranim.Constants;
import cranim.graphics.models.UnitModel;

/**
 *
 * @author Benedikt
 */
public class DefenderLightFighterModel extends UnitModel implements Constants{
        
    final static double scale = LFIGHTER_SCALE;
    
    public DefenderLightFighterModel(int x,int y) {
        super("media/img/LFighter/defender.png", x, y, scale);
    }

    @Override
    public int[] getGunPosition() {
        int gunX = (int)(this.getSprite().getWidth()*0.6);
        int gunY = (int)(this.getSprite().getHeight()*0.35);
        int[] gunpos = {gunX, gunY};
        return gunpos;
    }
    
    @Override
    public int getWeapon(){
        return LASER;
    }    
}
